package edu.gatech.cs2340.teamrocket.control.exception;

/**
 * This happens if the user is trying to assign invalid strings to be the
 * player's name or the Pokemon names.
 *
 * @author Wai Chip Ngai
 *
 */
@SuppressWarnings("serial")
public class InvalidNameException extends RuntimeException {

    /**
     * Empty Constructor
     */
    public InvalidNameException(){
        super("<html>Oops! Looks like your name for the player is not valid." +
                "<p>Alphanumeric, underscore, and whitespace characters only" +
                "<p>Oh yeah, and it can't be empty or start with a whitespace" +
                "<p>Also, Make sure it is no more than 20 characters!" +
                "<p>Sorry and please try again!</html>");
    }
}
